
 import axios from '@/api/fetch';
 import SERVER from '@/api/server';


 // 获取问题信息
 export const getQuestion = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/questionnaire`, {params})

 export const getQuestionByDm = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/questionnaire/getQuestionByDm`, {params})

 export const savePositionInfo = params => axios.post(`${SERVER.CMSCLOUD_WMS}/part/questionnaire/savepositioninfo`, params);

 export const getQuestionnaire = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/questionnaire/getQuestionnaire`, {params})

 export const getQuestionnaireInfo = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/questionnaire/getquestionnaireinfo`, {params})

 export const saveQuestionnaire = params => axios.post(`${SERVER.CMSCLOUD_WMS}/part/questionnaire/savequestionnaire`, params);

 export const getAddQuestion = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/questionnaire/getaddquestion`, {params})


